home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 1 / Macwelt DVD 1.toast / Web-Publishing / HTML-Editoren / Alpha ƒ / Tcl / Modes / Matlab mode / matlabCompletions.tcl < prev    next >
Encoding:
Text File  |  1998-04-16  |  657 b   |  26 lines

  1. ################################################################################
  2. #
  3. # matlabCompletions.tcl, part of the matlab mode package
  4. # Electric completions
  5. ################################################################################
  6.  
  7.  
  8.  
  9. proc matlabCompletions.tcl {} {}
  10.  
  11.  
  12.  
  13. set completions(MATL) {completion::electric completion::word}
  14.  
  15.  
  16. set MATLelectrics(for) " (••),\r\t••\rend;\r••"
  17. set MATLelectrics(switch)  " (••),\r\t••\rend;\r••"
  18. set MATLelectrics(case) " ••,\r••"
  19. set MATLelectrics(while) " (••),\r\t••\rend;\r••"
  20. set MATLelectrics(if) " (••),\r\t••\rend;\r••"
  21. set MATLelectrics(else) ",\r••"
  22. set MATLelectrics(elseif) " (••),\r••"
  23.  
  24.